﻿<Page
    x:Class="BingMapsIntro_WinRT_CS.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:m="using:Bing.Maps">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <m:Map Name="MyMap" Credentials="YOUR_BING_MAPS_KEY"/>

        <CheckBox Content="GPS" Click="GPS_Checked"
                  Width="60" Height="25" Background="Gray"
                  Margin="0,10,100,0" HorizontalAlignment="Right" VerticalAlignment="Top"/>
    </Grid>
</Page>